﻿@model StripeDemo.Models.Charge
@{
    ViewBag.Title = "Create Charge";
}

<body>
    <div>
        <h1>Default charge created</h1>
        <div>
            <b>Customer ID: </b> @Model.CustomerId<br />
            <b>Amount: </b> @Model.Amount<br />
            <b>Currency: </b> @Model.Currency<br />
            <b>ExtraTransactionInfo: </b> @Model.ExtraTransactionInfo<br />
            @if (@Model.CardNum != null && @Model.ReceiptMail != null)
            {
                <b>Card Number: </b> @Model.CardNum<br />
                <b>Receipt Email: </b> @Model.ReceiptMail<br />
            }
        </div>
    </div>

    <div>
        @Html.ActionLink("Back", "Index")
    </div>
</body>
